package a;

import org.springframework.stereotype.Service;

@Service
public class TestService {
    public void test() {
        try {
            System.out.println("sleep");
            Thread.sleep(2000);
            System.out.println("wake up");
        }catch (InterruptedException e){
            System.out.println(e);
        }
    }
    public boolean definitelyFail(){
        System.out.println("fail");
        return false;
    }
}
